export interface AdminUser {
  id?: number
  userName: string
  password: string
  roleId: number
  status: number
}

export interface AdminUserItem {
  id: number
  userName: string
  password: string
  avatar: string
  roleId: number
  status: number
  lastLoginIp: string
  lastLoginTime: string
  remark: string
  createTime: string
  updateTime: string
}

export interface AdminUserListResponse {
  list: AdminUserItem[]
  total: number
  pageNum: number
  pageSize: number
}

export interface AdminUserCreateParam {
  userName: string
  password: string
  roleId: number
  status: number
}

export interface AdminUserUpdateParam {
  id: number
  roleId: number
  status: number
}
